package com.accp.pojo;

//import java.util.HashSet;
//import java.util.Set;

public class Users{
	private String userName;
	private String userPwd;
	private String nickName;
	private short age;
	private String sex;
	private String telephone;
	private String address;
	private String role;
	
//	private Set<Email> emails = new HashSet<Email>();
//	private Set<Vacation> vacations = new HashSet<Vacation>();
//	
//	
//	public Set<Email> getEmails() {
//		return emails;
//	}
//
//	public void setEmails(Set<Email> emails) {
//		this.emails = emails;
//	}
//
//	public Set<Vacation> getVacations() {
//		return vacations;
//	}
//
//	public void setVacations(Set<Vacation> vacations) {
//		this.vacations = vacations;
//	}

	
	
	public Users() {
		super();
	}

	public Users(String userName, String userPwd, String nickName,
			short age, String sex, String telephone, String address, String role) {
		super();
		this.userName = userName;
		this.userPwd = userPwd;
		this.nickName = nickName;
		this.age = age;
		this.sex = sex;
		this.telephone = telephone;
		this.address = address;
		this.role = role;
		
	}
	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public short getAge() {
		return age;
	}

	public void setAge(short age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}
	
}
